% GAUTIER LE BIHAN - 2020
% Replication files for "Shocks vs Menu Costs: Patterns of Price Rigidity in an Estimated Multi-Sector Menu-Cost Model?" Review of Economics and Statistics
%
% Table D

clear;
tic
addpath('..\..\Utilities')  
load actual_moments_k

load ..\..\Estimation_param\MS_produits_KR_MC\param

s=227

stat4=zeros(s,16);
for jj=1:s;
    p0=0;
    mu_c=param(jj,2);
    sig_eps_a=exp(param(jj,3));
       p_a =tanh(param(jj,4));
    rho_a=0.6946; 
    
    weight_j=actual_moments_k(jj,12);

    sm_m=0;
    param_e=[p0 mu_c sig_eps_a p_a ]
   [moments, VC]=geNCalvoPlus_VC(mu_c, sig_eps_a,p_a, weight_j);
  stat4(jj,:)=[ param_e moments VC];
jj
  save stat4 stat4;
end
